@echo off
if "%1"=="" goto usage
if "%2"=="" goto usage
if "%3"=="" goto usage

sc create dushd binPath= "C:\mcs\dushd.exe -s %1 -m %2 -p 12000 -D" start= auto depend= NetMan obj= .\administrator password= %3
net start dushd

goto end

:usage
echo Usage: serverip modulename admin_password
:end